﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <Style x:Key="TextBlockBase" TargetType="{x:Type TextBlock}">
        <Setter Property="FontFamily" Value="SimHei" />
    </Style>
    <Style TargetType="{x:Type TextBlock}" BasedOn="{StaticResource TextBlockBase}" />
    <Style x:Key="InfoTextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource TextBlockBase}">
        <Setter Property="FontSize" Value="24" />
        <Setter Property="FontWeight" Value="Bold" />
        <Setter Property="Foreground" Value="#153364" />
    </Style>
    <Style x:Key="OptionalFieldTextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource InfoTextBlock}">
        <Setter Property="Foreground" Value="#797971" />
    </Style>
    <Style x:Key="PatientInfoTextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource TextBlockBase}">
        <Setter Property="FontSize" Value="18" />
        <Setter Property="Foreground" Value="#153364" />
    </Style>
    <Style x:Key="PageTitleTextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource TextBlockBase}">
        <Setter Property="FontSize" Value="26" />
        <Setter Property="Foreground" Value="#153364" />
    </Style>
    <Style x:Key="TestItemCategoryTitle" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource TextBlockBase}">
        <Setter Property="Padding" Value="12,25,12,12" />
        <Setter Property="Background" Value="#d5d6d8" />
        <Setter Property="FontSize" Value="18" />
        <Setter Property="Foreground" Value="#0e3a72" />
        <Setter Property="TextWrapping" Value="Wrap" />
        <Setter Property="VerticalAlignment" Value="Center" />
        <Setter Property="Width" Value="40" />
        <Setter Property="Height" Value="140" />
    </Style>
    <Style x:Key="TestResultTextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource TextBlockBase}">
        <Setter Property="FontSize" Value="38" />
        <Setter Property="Background" Value="#fafafa" />
        <Setter Property="Padding" Value="5,15,0,0" />
        <Setter Property="Width" Value="360" />
        <Setter Property="Height" Value="78" />
    </Style>
    <Style x:Key="TestReportTextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource TextBlockBase}">
        <Setter Property="FontSize" Value="16" />
    </Style>
    <Style x:Key="TestReportSmallTextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource TextBlockBase}">
        <Setter Property="FontSize" Value="15" />
        <Setter Property="TextWrapping" Value="Wrap" />
    </Style>
    <Style x:Key="TestReportTitleTextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource TestReportTextBlock}">
        <Setter Property="TextWrapping" Value="Wrap" />
        <Setter Property="Foreground" Value="White" />
        <Setter Property="VerticalAlignment" Value="Center" />
        <Setter Property="HorizontalAlignment" Value="Center" />
    </Style>
    <Style x:Key="TestResultColumnChartDisplayedTitleTextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource TestReportTextBlock}">
        <Style.Triggers>
            <Trigger Property="Text" Value="">
                <Setter Property="Visibility" Value="Collapsed" />
            </Trigger>
        </Style.Triggers>
    </Style>
    <Style x:Key="ImportantInformationTextBlock" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource TestReportTextBlock}">
        <Setter Property="Foreground" Value="Red" />
    </Style>
</ResourceDictionary>